﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Musicman.Common.Entities
{
    public enum LoginType 
    {
        Web,
        Client
    }

    public enum Sex : byte
    {
        Female,
        Male
    }

    [Serializable]
    public class User 
    {
        private long? personid;
        private string firstname;
        private string lastname;
        private string emailaddress;
        private string password;
        private bool mailRequest;
        private Guid? activationCode;
        private UserStats userStats;
        private byte[] profilePicture;
        private Sex personSex;
        private bool disabled;

        public long? Personid
        {
            get { return personid; }
            set { this.personid = value; }
        }
        public string Firstname
        {
            get { return firstname; }
            set { this.firstname = value; }
        }
        public string Lastname
        {
            get { return lastname; }
            set { this.lastname = value; }
        }
        public string Emailaddress
        {
            get { return emailaddress; }
            set { this.emailaddress = value; }
        }
        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        public bool MailRequest
        {
            get { return mailRequest; }
            set { mailRequest = value; }
        }
        public Guid? ActivationCode
        {
            get { return activationCode; }
            set { activationCode = value; }
        }
        public UserStats UserStats
        {
            get { return userStats; }
            set { userStats = value; }
        }
        public byte[] ProfilePicture
        {
            get { return profilePicture; }
            set { profilePicture = value; }
        }
        public Sex PersonSex
        {
            get { return personSex; }
            set { personSex = value; }
        }
        public bool Disabled
        {
            get { return disabled; }
            set { disabled = value; }
        }
    }
}
